package com.gears_software.sxdc.dccx.data.model;

import com.bigkoo.pickerview.model.IPickerViewData;

import org.androidannotations.annotations.sharedpreferences.DefaultString;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by chezhenzhen on 2017/8/1.
 * 车辆model
 */

public class VehicleModel implements Serializable,IPickerViewData {


    /**
     * id : 3ATlPEdmqmt30pABwGxuyB87KDCajcjM
     * create_name : api
     * create_by :
     * create_date : 2017-08-04T09:47:03.000Z
     * update_name :
     * update_by :
     * update_date :
     * companyid : 1401000001
     * driverid : S7zjhC4ad4xdOlvPSVkl4BVM5nxBVl_U
     * driverphone : 18636639992
     * address : 0
     * vehicleno : 晋A12345
     * platecolor :
     * seats : 5
     * brand :
     * model :
     * vehicletype :
     * ownername :
     * vehiclecolor : 黑色
     * engineid :
     * vin :
     * certifydatea : null
     * fueltype :
     * enginedisplace :
     * phontoid : null
     * transagency : null
     * transarea : null
     * transdatestart : null
     * transdatestop : null
     * certifydateb : null
     * fixstate :
     * checkstate :
     * feeprintid :
     * gpsbrand : null
     * gpsmodel :
     * gpsinstalldate : null
     * registerdate : null
     * commercialtype :
     * faretype :
     * mileage : 0
     * state :
     * carauditstate : 1
     * carmodel : 保时捷卡宴
     * caruse : 2
     * mancarphone2 :
     * usertype : 2
     * vehicellicenseid1 :
     * vehicellicenseid2 :
     */

    private String id;
    private String create_name;
    private String create_by;
    private String create_date;
    private String update_name;
    private String update_by;
    private String update_date;
    private String companyid;
    private String driverid;
    private String driverphone;
    private int address;
    private String vehicleno;
    private String platecolor;
    private String seats;
    private String brand;
    private String model;
    private String vehicletype;
    private String ownername;
    private String vehiclecolor;
    private String engineid;
    private String vin;
    private Date certifydatea;
    private String fueltype;
    private String enginedisplace;
    private Object phontoid;
    private Object transagency;
    private Object transarea;
    private Object transdatestart;
    private Object transdatestop;
    private Object certifydateb;
    private String fixstate;
    private String checkstate;
    private String feeprintid;
    private Object gpsbrand;
    private String gpsmodel;
    private Object gpsinstalldate;
    private Object registerdate;
    private String commercialtype;
    private String faretype;
    private int mileage;
    private String state;
    private String carauditstate;
    private String carmodel;
    private String caruse;
    private String mancarphone2;
    private String usertype;
    private String vehicellicenseid1;
    private String vehicellicenseid2;

    public String getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(String isdelete) {
        this.isdelete = isdelete;
    }

    public String getIsdefault() {
        return isdefault;
    }

    public void setIsdefault(String isdefault) {
        this.isdefault = isdefault;
    }

    private String isdelete;
    private String isdefault;


    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    private String content;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreate_name() {
        return create_name;
    }

    public void setCreate_name(String create_name) {
        this.create_name = create_name;
    }

    public String getCreate_by() {
        return create_by;
    }

    public void setCreate_by(String create_by) {
        this.create_by = create_by;
    }

    public String getCreate_date() {
        return create_date;
    }

    public void setCreate_date(String create_date) {
        this.create_date = create_date;
    }

    public String getUpdate_name() {
        return update_name;
    }

    public void setUpdate_name(String update_name) {
        this.update_name = update_name;
    }

    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }

    public String getUpdate_date() {
        return update_date;
    }

    public void setUpdate_date(String update_date) {
        this.update_date = update_date;
    }

    public String getCompanyid() {
        return companyid;
    }

    public void setCompanyid(String companyid) {
        this.companyid = companyid;
    }

    public String getDriverid() {
        return driverid;
    }

    public void setDriverid(String driverid) {
        this.driverid = driverid;
    }

    public String getDriverphone() {
        return driverphone;
    }

    public void setDriverphone(String driverphone) {
        this.driverphone = driverphone;
    }

    public int getAddress() {
        return address;
    }

    public void setAddress(int address) {
        this.address = address;
    }

    public String getVehicleno() {
        return vehicleno;
    }

    public void setVehicleno(String vehicleno) {
        this.vehicleno = vehicleno;
    }

    public String getPlatecolor() {
        return platecolor;
    }

    public void setPlatecolor(String platecolor) {
        this.platecolor = platecolor;
    }

    public String getSeats() {
        return seats;
    }

    public void setSeats(String seats) {
        this.seats = seats;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getVehicletype() {
        return vehicletype;
    }

    public void setVehicletype(String vehicletype) {
        this.vehicletype = vehicletype;
    }

    public String getOwnername() {
        return ownername;
    }

    public void setOwnername(String ownername) {
        this.ownername = ownername;
    }

    public String getVehiclecolor() {
        return vehiclecolor;
    }

    public void setVehiclecolor(String vehiclecolor) {
        this.vehiclecolor = vehiclecolor;
    }

    public String getEngineid() {
        return engineid;
    }

    public void setEngineid(String engineid) {
        this.engineid = engineid;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public Date getCertifydatea() {
        return certifydatea;
    }

    public void setCertifydatea(Date certifydatea) {
        this.certifydatea = certifydatea;
    }

    public String getFueltype() {
        return fueltype;
    }

    public void setFueltype(String fueltype) {
        this.fueltype = fueltype;
    }

    public String getEnginedisplace() {
        return enginedisplace;
    }

    public void setEnginedisplace(String enginedisplace) {
        this.enginedisplace = enginedisplace;
    }

    public Object getPhontoid() {
        return phontoid;
    }

    public void setPhontoid(Object phontoid) {
        this.phontoid = phontoid;
    }

    public Object getTransagency() {
        return transagency;
    }

    public void setTransagency(Object transagency) {
        this.transagency = transagency;
    }

    public Object getTransarea() {
        return transarea;
    }

    public void setTransarea(Object transarea) {
        this.transarea = transarea;
    }

    public Object getTransdatestart() {
        return transdatestart;
    }

    public void setTransdatestart(Object transdatestart) {
        this.transdatestart = transdatestart;
    }

    public Object getTransdatestop() {
        return transdatestop;
    }

    public void setTransdatestop(Object transdatestop) {
        this.transdatestop = transdatestop;
    }

    public Object getCertifydateb() {
        return certifydateb;
    }

    public void setCertifydateb(Object certifydateb) {
        this.certifydateb = certifydateb;
    }

    public String getFixstate() {
        return fixstate;
    }

    public void setFixstate(String fixstate) {
        this.fixstate = fixstate;
    }

    public String getCheckstate() {
        return checkstate;
    }

    public void setCheckstate(String checkstate) {
        this.checkstate = checkstate;
    }

    public String getFeeprintid() {
        return feeprintid;
    }

    public void setFeeprintid(String feeprintid) {
        this.feeprintid = feeprintid;
    }

    public Object getGpsbrand() {
        return gpsbrand;
    }

    public void setGpsbrand(Object gpsbrand) {
        this.gpsbrand = gpsbrand;
    }

    public String getGpsmodel() {
        return gpsmodel;
    }

    public void setGpsmodel(String gpsmodel) {
        this.gpsmodel = gpsmodel;
    }

    public Object getGpsinstalldate() {
        return gpsinstalldate;
    }

    public void setGpsinstalldate(Object gpsinstalldate) {
        this.gpsinstalldate = gpsinstalldate;
    }

    public Object getRegisterdate() {
        return registerdate;
    }

    public void setRegisterdate(Object registerdate) {
        this.registerdate = registerdate;
    }

    public String getCommercialtype() {
        return commercialtype;
    }

    public void setCommercialtype(String commercialtype) {
        this.commercialtype = commercialtype;
    }

    public String getFaretype() {
        return faretype;
    }

    public void setFaretype(String faretype) {
        this.faretype = faretype;
    }

    public int getMileage() {
        return mileage;
    }

    public void setMileage(int mileage) {
        this.mileage = mileage;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCarauditstate() {
        return carauditstate;
    }

    public void setCarauditstate(String carauditstate) {
        this.carauditstate = carauditstate;
    }

    public String getCarmodel() {
        return carmodel;
    }

    public void setCarmodel(String carmodel) {
        this.carmodel = carmodel;
    }

    public String getCaruse() {
        return caruse;
    }

    public void setCaruse(String caruse) {
        this.caruse = caruse;
    }

    public String getMancarphone2() {
        return mancarphone2;
    }

    public void setMancarphone2(String mancarphone2) {
        this.mancarphone2 = mancarphone2;
    }

    public String getUsertype() {
        return usertype;
    }

    public void setUsertype(String usertype) {
        this.usertype = usertype;
    }

    public String getVehicellicenseid1() {
        return vehicellicenseid1;
    }

    public void setVehicellicenseid1(String vehicellicenseid1) {
        this.vehicellicenseid1 = vehicellicenseid1;
    }

    public String getVehicellicenseid2() {
        return vehicellicenseid2;
    }

    public void setVehicellicenseid2(String vehicellicenseid2) {
        this.vehicellicenseid2 = vehicellicenseid2;
    }

    @Override
    public String getPickerViewText() {
        return this.carmodel + " " + this.vehicleno + " " + this.vehiclecolor;
    }
}
